#!/bin/bash
if [ $1 == "bak" ]
then
	echo "*************send to bak***********"
	rm ./target/*.jar
	mvn clean package -Dmaven.test.skip=true
	./autokey bak
elif [ $1 == "main" ]
then
	echo "*************send to main server***********"
	rm ./target/*.jar
	mvn clean package -Dmaven.test.skip=true
	./autokey main
else
	echo "*************some error***********"
fi

